package com.baiyang.sharding.dao;

import com.baiyang.sharding.entity.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author baiyang
 */
@Mapper
public interface UserDao {
    public int insert(User user);

    public List<User> list(User user);
}
